import cgi
import datetime
import wsgiref.handlers
import gdata.service

from src.handlers.welcome import Welcome
from src.handlers.auth import AuthHandler
from src.handlers.test import *

from google.appengine.ext import db
from google.appengine.api import users
from google.appengine.ext import webapp


application = webapp.WSGIApplication([
  ('/', Welcome),
  ('/test', Test),
  ('/testCrawler', TestCrawler),
  ('/auth', AuthHandler)
], debug=True)

def main():
    wsgiref.handlers.CGIHandler().run(application)


if __name__ == '__main__':
    main()
